home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Cafe 3
/
Visual Cafe 3.ISO
/
Vcafe
/
Main.bin
/
Summary.java
< prev
next >
Wrap
Text File
|
1998-09-08
|
2KB
|
124 lines
package com.symantec.itools.frameworks.wizard;
import java.awt.Component;
/**
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public class Summary
{
public Summary(String stringDescription)
{
stringSummary = stringDescription;
}
public Summary(Component panelDescription)
{
panelSummary = panelDescription;
}
public Summary(Component panelDescription, String stringDescription)
{
stringSummary = stringDescription;
panelSummary = panelDescription;
}
public Summary()
{
stringSummary = null;
panelSummary = null;
}
/**
* @since VCafe 3.0
*/
public boolean hasPanelSummary()
{
return (panelSummary != null);
}
/**
* @since VCafe 3.0
*/
public boolean hasStringSummary()
{
return (stringSummary != null);
}
/**
* @since VCafe 3.0
*/
public Component getPanelSummary()
{
return panelSummary;
}
/**
* @param panelDescription TODO
* @since VCafe 3.0
*/
public void setPanelSummary(Component panelDescription)
{
panelSummary = panelDescription;
}
/**
* @since VCafe 3.0
*/
public String getStringSummary()
{
return stringSummary;
}
/**
* @param stringDescription TODO
* @since VCafe 3.0
*/
public void setStringSummary(String stringDescription)
{
stringSummary = stringDescription;
}
/**
* @since VCafe 3.0
*/
public int getPreferredSummary()
{
return NO_PREFERENCE;
}
/**
* @since VCafe 3.0
*/
public final static int SUMMARY_PANEL_WIDTH = 200;
/**
* @since VCafe 3.0
*/
public final static int PANEL_SUMMARY = 0;
/**
* @since VCafe 3.0
*/
public final static int TEXT_SUMMARY = 1;
/**
* @since VCafe 3.0
*/
public final static int NO_PREFERENCE = 2;
private String stringSummary = null;
private Component panelSummary = null;
}